package com.easy.dfc.service;

import com.easy.dfc.mapper.ImgSetMapper;
import com.easy.dfc.entity.ImgSet;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by VULCANTSeries on 2017/5/26.
 */
@Service
public class ImgSetService {

    @Resource
    private ImgSetMapper imgSetMapper;

    public List<ImgSet> selectByProductId(Integer ProductId) {
        return imgSetMapper.selectByProductId(ProductId);
    }

    public int insertSelective(ImgSet imgSet) {
        return imgSetMapper.insertSelective(imgSet);
    }
}
